-
Notifications
You must be signed in to change notification settings - Fork 63
Get elevation from a remote service when missing in the import #910 #951
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: v1.1.x
Are you sure you want to change the base?
Conversation
|
Hi! Thanks for the PR. I'll take a look in the next few days. |
|
Hi!
It's OK to set the URL in Some quick feedback:
I can make the changes if you prefer :) |
|
I would have added the tests when you validated the principle of my PR (I am a real noob in python, I never wrote tests, nore an API mock in pyhton, so it would have taken time I guess to write and rewrite the tests). |
|
no worries, I'll make the changes :)
What is the error encountered? |
|
I have this error: |
|
If you are working without docker, run the following command to install Javascript dependencies ( With docker, the command is: |
|
I was working with docker and already ran this command, but it still does not work. Maybe I screwed something with my branch. |
|
Can you remove the container and re-build the image ? To remove the container: |
|
I made some changes (not pushed yet) and tests with a gpx file (before and after removing elevation from file):
This adds about 1 km (and therefore 1 km/h to the speed for this workout). The elevation gain is multiplied by 2.73. I made another branch but with strm.py to test it instead of using OpenElevation:
And with
With Compared to OpenElevation solution, it is not possible to configure the data source (and therefore change it if it is no longer available, for example). To get elevation, strm.py downloads data locally which can take up space, depending on the option selected. The ideal solution would be to be able to reprocess the data from OpenElevation in order to "smooth" it. |
|
Hi, I pushed my changes (sorry for the delay):
If I use the example from before (gpx file):
Changes in user preferences:
|
|
@kmorinCL I have only tested with .gpx and .tcx files (since they are easy to modify). |
|
I will try to test it soon. Thanks for your work |
















It's a POC. I am a noob in Python, I hope I did the things right.
I added the open-elevation in the config, I don't know if it'd rather be configurable in the admin UI.